* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #f3f5f7;
}

a {
    text-decoration: none;
    color: #333;
}

li {
    list-style: none;
}

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

.header {
    margin: 30px auto;
    height: 42px;
    /* background-color: pink; */
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}

.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    font-size: 18px;
    transition: color 0.1s ease 0s, border-bottom 0.1s ease 0s;
}

.nav ul li a:hover {
    color: #00a4ff;
    border-bottom: #00a4ff 2px solid;
}

.search {
    float: left;
    margin-left: 70px;
    width: 410px;
    height: 42px;
    background-color: skyblue;
}

.search form input {
    float: left;
    padding-left: 18px;
    border: 1px solid #00a4ff;
    border-right: 0;
    width: 360px;
    height: 42px;
    font-size: 14px;
    outline: none;
}

.search .search_Button {
    float: left;
    border: 0;
    width: 50px;
    height: 42px;
    background-image: url("images/fa-search.png");
    cursor: pointer;
    /* background-repeat: no-repeat; */
}

.user {
    float: right;
    margin-left: 32px;
    margin-right: 34px;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.user img {
    vertical-align: middle;
}

.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .w {
    height: 420px;
    background: url("images/banner.png") no-repeat top center;
}

.subnav {
    float: left;
    padding: 20px 0;
    height: 380px;
    width: 190px;
    background-color: rgba(0, 0, 0, .3);
}

.subnav ul li {
    padding: 0 20px;
    height: 44px;
}

.subnav ul li a {
    color: #fff;
    font-size: 14px;
}

.subnav ul li a span {
    float: right;
}

.subnav ul li a:hover {
    color: #00a4ff;
}

.course {
    float: right;
    margin-top: 50px;
    width: 230px;
    height: 300px;
    background-color: #fff;
}

.course h3 {
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    color: #f3f5f7;
    font-size: 18px;
    font-style: normal;
}

.course .bd {
    padding: 0 20px;
}

.course ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
    width: 192px;
    color: #666;
}

.course .bd ul li h4 {
    font-size: 16px;
    font-weight: 500;
    color: #4e4e4e;
}

.course .bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.course .bd h4:hover {
    color: #42b2ff;
}

.allCourse {
    display: block;
    border: 1px solid #22b0ff;
    margin-top: 5px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #42b2ff;
    border-radius: 5px;
    transition: color .15s ease 0s, color .15s ease 0s;
}

.bd a:hover {
    color: #fff;
    background-color: #42b2ff;
}

.w.goods {
    margin-top: 8px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, .2);
}

.w.goods h3 {
    float: left;
    margin: 20px 0;
    padding: 0 35px;
    font-size: 16px;
    color: #00a4ff;
}

.w.goods ul {
    float: left;
    margin: 20px 0;
}

.w.goods ul li {
    display: block;
    float: left;
    padding: 0 35px;
    border-left: 1px solid #bfbfbf;
    font-size: 16px;
}

.w.goods ul li a {
    color: #000;
}

.w.goods ul li a:hover {
    color: #00a4ff;
}

.w.goods .mod {
    float: right;
    height: 60px;
    line-height: 60px;
    margin: 0 35px;
    font-size: 14px;
    color: #00a4ff;
}

.fix {
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: 605px;
    width: 185px;
    height: 425px;
    background-color: pink;
}

.box {
    margin-top: 30px;
}

.box-hd {
    overflow: hidden;
}

.box-hd h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
    color: #494949;
}

.box-hd a {
    float: right;
    line-height: 30px;
    font-size: 12px;
    color: #a8a8a8;
}

.box-bd {
    overflow: hidden;
}

.box-bd ul {
    float: left;
    width: 1215px;
}

.box-bd ul li {
    position: relative;
    top: 0;
    float: left;
    margin-right: 15px;
    margin-top: 14px;
    height: 270px;
    width: 228px;
    background: #fff;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, .1);
    transition: top .2s;
}

.box-bd ul li:hover {
    top: -4px;
}

.box-bd ul li a img {
    width: 100%;
}

.box-bd ul li .hot,
.box-bd ul li .new {
    position: absolute;
    top: 4px;
    right: -4px;
}

.box-bd ul li h4 {
    margin: 20px 25px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #050505;
}

.box-bd ul li h4:hover {
    color: #00a4ff;
}

.box-bd ul li .info {
    margin: 0 25px;
    font-size: 12px;
    color: #999;
}

.box-bd ul li .info span {
    color: #ff7c2d;
}

footer {
    margin-top: 40px;
    height: 417px;
    background-color: #fff;
}

footer .w {
    height: 384px;
    width: 1180px;
    padding: 33px 0px 0 20px;
}

.copyright {
    float: left;
}

.copyright p {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.copyright a {
    display: block;
    border: 1px solid #00a4ff;
    background-color: #ffffff00;
    height: 34px;
    width: 118px;
    border-radius: 5px;
    line-height: 34px;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
    outline: none;
    transition: all .2s;
}

.copyright a:hover {
    color: #fff;
    background-color: #00a4ff;
}

.links {
    float: right;
    height: 387px;
}

.links dl {
    float: left;
    margin-left: 100px;
    margin-right: 30px;
}

.links dl dt {
    margin-bottom: 13px;
    font-size: 16px;
    color: #333;
}

.links dl dd {
    margin-top: 7px;
    font-family: SimSun;
    font-size: 12px;
}